package com.enterprise.projectManager.model;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.JoinColumn;
import jakarta.persistence.ManyToOne;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Entity
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Appendix {
    @Id
    String appendixId;
    @ManyToOne
    @JoinColumn(name = "project_id")
    private Project project;
    String appendixName;
    String appendixPath;
    Long appendixSize;
    String appendixType;
}
